﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Labb3.Model
{
    class Ball
    {
        public double _diameter = 0.1f;
        public Vector2 _position;
        public Vector2 _speed;

        public Ball(Vector2 startingPosition, int seed)
        {
            _position = startingPosition;
            Random rand = new Random(seed);
            _speed = new Vector2((float)rand.NextDouble() * 0.004f, (float)rand.NextDouble() * 0.006f);
            //_speed = new Vector2((float)rand.NextDouble() * 0.0005f, (float)rand.NextDouble() * 0.0005f);
            //_speed = new Vector2();

        }
    }
}
